package cn.hpu.dao;

import java.util.List;
import java.util.Map;

import cn.hpu.po.CustomerInfo;

public interface CustomerInfoDAO {

	void persist(CustomerInfo customerInfo);

	CustomerInfo getCustomerInfoByName(String name);

	List<CustomerInfo> getCustomerInfoes();

	List<CustomerInfo> getCustomerInfoes(Integer beginIndex, Integer pageSize);

	Integer getRecordCount();

	CustomerInfo getCustomerInfoById(Integer id);

	void udpate(CustomerInfo customerInfo);

	void delCustomerInfo(CustomerInfo info);

	List<CustomerInfo> getCustomerInfoByProperties(Map<String ,Object> queryConditions);

	List<CustomerInfo> getCustomerInfoByProperties(
			Map<String, Object> queryConditions, Integer beginIndex,
			Integer pageSize);

	List<CustomerInfo> loadCustomerSignalInfoes(Integer beginIndex,
			Integer pageSize);

}
